googleGetSignInEmail
Type
handler
Summary
Get the email address of the authenticated user
Syntax
googleGetSignInEmail()
Description
Use the googleGetSignInEmail to obtain the email address of the authenticated user. If no user is authenticated then a 'Not authenticated' error is thrown.
note
In order to obtain an authenticated user's email address, "require-email" must have been present as a key of the options array passed to the googleSignIn handler. If it was not, then googleGetSignInEmail returns empty.
Examples
put googleGetSignInEmail() into field "email"
Value
| Name | Type | Description |
|---|---|---|
return | The googleGetSignInEmail handler returns the email address of the authenticated user. |
Related
handler: googleSignIn
Compatibility and Support
OS
android